package com.cloud.api.myenum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

public enum OSTypeEnum implements IEnum<Integer> {

    ANDROID(0,"Android");

    @EnumValue
    private Integer value;

    @Getter
    @JsonValue
    private String desc;

    OSTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

}
